Link   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 4
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A render 0 2 1
1
import React from 'react';
2
import {NavLink} from "react-router-dom";
3
4
class Link extends React.Component {
5
    render() {
6
        return <NavLink exact to={this.props.url} className={this.props.className}  > {this.props.text} </NavLink>
7
    }
8
}
9
10
export default Link;